$OpenBSD: patch-src_3rdparty_chromium_content_content_browser_gypi,v 1.1.1.1 2016/12/25 14:13:19 zhuk Exp $
--- src/3rdparty/chromium/content/content_browser.gypi.orig.port	Thu Aug  4 16:48:14 2016
+++ src/3rdparty/chromium/content/content_browser.gypi	Thu Aug  4 16:54:00 2016
@@ -1952,7 +1952,7 @@
         'browser/udev_linux.h',
       ],
     }],
-    ['OS=="linux" and use_aura==1', {
+    ['(OS=="linux" or os_bsd==1) and use_aura==1', {
       'dependencies': [
         '../build/linux/system.gyp:fontconfig',
       ],
@@ -2039,9 +2039,25 @@
       ],
     }],
     ['os_bsd==1', {
-      'sources/': [
-        ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$'],
+      'sources!': [
+        'public/browser/zygote_host_linux.h',
+        'browser/zygote_host/zygote_communication_linux.cc',
+        'browser/zygote_host/zygote_communication_linux.h',
+        'browser/zygote_host/zygote_handle_linux.cc',
+        'browser/zygote_host/zygote_host_impl_linux.cc',
+        'browser/zygote_host/zygote_host_impl_linux.h',
+        'zygote/zygote_linux.cc',
+        'zygote/zygote_linux.h',
+        'zygote/zygote_main_linux.cc',
+        'browser/device_monitor_linux.cc',
+        'browser/download/file_metadata_linux.cc',
+        'browser/gamepad/gamepad_platform_data_fetcher_linux.cc',
+        'browser/geolocation/wifi_data_provider_linux.cc',
+        'browser/udev_linux.cc',
       ],
+      'dependencies': [
+        '../build/linux/system.gyp:dbus',
+      ],
     }],
     ['use_aura==1', {
       'dependencies': [
@@ -2091,10 +2107,7 @@
         'browser/geolocation/empty_wifi_data_provider.cc',
       ],
     }],
-    ['OS == "linux" and use_dbus==1', {
-      'sources!': [
-        'browser/geolocation/empty_wifi_data_provider.cc',
-      ],
+    ['(OS == "linux" or os_bsd==1) and use_dbus==1', {
       'dependencies': [
         '../build/linux/system.gyp:dbus',
         '../dbus/dbus.gyp:dbus',
@@ -2113,7 +2126,7 @@
         'browser/media/media_web_contents_observer.h',
       ],
     }],
-    ['OS == "linux" and use_openssl==1', {
+    ['(OS == "linux" or os_bsd==1) and use_openssl==1', {
       'dependencies': [
         '../third_party/boringssl/boringssl.gyp:boringssl',
       ],
